Hitless Software Upgrade
The /files/software/hitless URL provides the ability to upgrade the software load on an HA system via the “hitless” procedure (without service interruption).
URL
/api/v1/files/software/hitless
HTTP Method
PUT
HTTP Responses
| ■ | 200 OK |
| ■ | 400 Bad request – provided software load is incorrect. |
| ■ | 409 Conflict – software load can’t be applied due to the current device state (e.g. synchronization with the redundant device is in progress). |
Example
| ■ | Request: |
PUT /api/v1/files/software/hitless HTTP/1.1 Host: 10.4.219.229 Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="file"; filename="software.cmp" Content-Type: application/octet-stream <cmp file> ------WebKitFormBoundary7MA4YWxkTrZu0gW--
| ■ | Response: |
HTTP/1.1 200 OK
Content-Type: application/json
{
"description": "Device will perform switchover to activate new software load"
}
or
HTTP/1.1 409 Conflict
Content-Type: application/json
{
"description": "Device is currently performing HA synchronization"
}